﻿using Microsoft.WindowsAzure.StorageClient;
using System;

namespace Sketchial.Data
{
    public class PostEntity : TableServiceEntity
    {
        public const string userPartitionKey = "Post";

        public PostEntity(string id, string postedBy, string places, string people, string events, string countries, DateTime date)
        {
            PartitionKey = userPartitionKey;
            RowKey = id;
            PostBy = postedBy;
            People = people;
            Places = places;
            Events = events;
            Countries = countries;
            PostDate = date;
        }
        public PostEntity()
        {

        }

        public string PostID { get; set; }
        public string PostBy { get; set; }
        public string Places { get; set; }
        public string People { get; set; }
        public string Countries { get; set; }
        public string Events { get; set; }
        public string Activities { get; set; }
        public DateTime PostDate { get; set; }
    }
}
